[NET] back: Disable packet queuing when a client has no receive buffers.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 4 Oct 2006 15:12:35 +0000 (16:12 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 4 Oct 2006 15:12:35 +0000 (16:12 +0100)
commit6623d7edad4cead2990f754dbcf48246911b96bc
tree7cc19139d73bea07d7e3dfa0b200d05b6daab7dc
parentd73abfd1104bf34ba8b10951e42d3323a4561305
[NET] back: Disable packet queuing when a client has no receive buffers.

This turns out to be dangerous as packets can be queued indefinitely,
introducing resource dependencies between guests (if the queued
packets originate from another virtual machine). For example, this
can prevent interfaces from being torn down and hence defunct
virtual machines from being destroyed.

The queuing functionality is retained as a module option, but a
warning is printed if it is enabled. It is not intended for general use!

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/netback/interface.c
linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c